package com.iqiyi.mapper;

import com.iqiyi.po.Episode;
import com.iqiyi.po.EpisodeExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface EpisodeMapper {
    int countByExample(EpisodeExample example);

    int deleteByExample(EpisodeExample example);

    int deleteByPrimaryKey(Integer eid);

    int insert(Episode record);

    int insertSelective(Episode record);

    List<Episode> selectByExample(EpisodeExample example);

    Episode selectByPrimaryKey(Integer eid);

    int updateByExampleSelective(@Param("record") Episode record, @Param("example") EpisodeExample example);

    int updateByExample(@Param("record") Episode record, @Param("example") EpisodeExample example);

    int updateByPrimaryKeySelective(Episode record);

    int updateByPrimaryKey(Episode record);

    List<Episode> findEnumberByVid(@Param("vid")int vid);
}